package com.example.takeoutfood;


import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.example.takeoutfood.base.activity.BaseActivity;
import com.example.takeoutfood.detail.ShopDetailsActivity;

public class MainActivity extends BaseActivity {
    Button btn_detail;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        startActivity(new Intent(MainActivity.this, ShopDetailsActivity.class));
//        btn_detail = findViewById(R.id.btn_detail);
//        btn_detail.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                startActivity(new Intent(MainActivity.this, ShopDetailsActivity.class));
//            }
//        });
    }
}